import request from '@/utils/request'

// 查询订单簿列表
export function listSpot_openapi_orderbook_bak(query) {
  return request({
    url: '/spot_openapi_orderbook/spot_openapi_orderbook_bak/list',
    method: 'get',
    params: query
  })
}

// 查询订单簿详细
export function getSpot_openapi_orderbook_bak(id) {
  return request({
    url: '/spot_openapi_orderbook/spot_openapi_orderbook_bak/' + id,
    method: 'get'
  })
}

// 新增订单簿
export function addSpot_openapi_orderbook_bak(data) {
  return request({
    url: '/spot_openapi_orderbook/spot_openapi_orderbook_bak',
    method: 'post',
    data: data
  })
}

// 修改订单簿
export function updateSpot_openapi_orderbook_bak(data) {
  return request({
    url: '/spot_openapi_orderbook/spot_openapi_orderbook_bak',
    method: 'put',
    data: data
  })
}

// 删除订单簿
export function delSpot_openapi_orderbook_bak(id) {
  return request({
    url: '/spot_openapi_orderbook/spot_openapi_orderbook_bak/' + id,
    method: 'delete'
  })
}
